package com.ddyx.mapper;

import java.util.List;
import java.util.Map;

import com.ddyx.entity.Post;
import com.ddyx.entity.Store;

import tk.mybatis.mapper.common.Mapper;

public interface PostMapper extends Mapper<Post>{

	List<Map> findPostList(Map paramMap);

	Map getPostDetail(Map paramMap);

	void addViewCount(Integer postId);

	void addLikeCount(Integer postId);

	void reduceLikeCount(int i);

	List<Map> androidPosts(Map paramMap);

	List<Map> postsForAndroid(Map paramMap);

}
